/*********************************************************************************
  *Copyright (C), 2016-2023, jiance.zhang
  *FileName:  app_task.c
  *Author:  JianCe.Zhang
  *Version:  V1.0
  *Date: 2024-04-16
  *Description: 
  *Function List:
  * 1. void function(void)
  * 2. 
  * 3. 
  * 4. 
  *History:
  * 1. 2024-04-16;JianCe.Zhang;Init Function 
  * 2. 
  * 3. 
  * 4. 
****************************************Includes***********************************/
#include "app_task.h"
#include "main.h"
#include "FreeRTOS.h"
#include "task.h"
#include "CAN_Module.h"
#include "XcpBasic.h"


/***************************************Variables***********************************/


uint32_t __attribute__ ((section(".datacal"))) LED_Ctl0 = 0;
uint32_t __attribute__ ((section(".datacal"))) LED_Ctl1 = 0;
uint32_t __attribute__ ((section(".datacal"))) LED_Ctl2 = 0;

void LED_Task(void *pvParameters)
{
  while (1)
  {
    if (LED_Ctl0+LED_Ctl1+LED_Ctl2)
    {
      HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
    }
    vTaskDelay(100);
  }
}